{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "ea0ec756-8611-4d94-b22c-519394824bd6",
   "metadata": {},
   "source": [
    "# PyCharm使用\n",
    "\n",
    "前面讲了可以安装PyCharm来编写Python代码，但没有细说，这里单独讲讲怎么建立一个Python工程、编写代码、运行等。\n",
    "\n",
    "## 创建一个新工程\n",
    "\n",
    "打开PyCharm来创建一个新工程，点击\"File\"-->\"New Project\":  \n",
    "![pycharm4](./pycharm4.png)  \n",
    "![pycharm5](./pycharm5.png)  \n",
    "这个创建工程的版面已经给了默认参数，如工程路径Location, 一般我们要修改，指定到我们希望的目录下，反复强调，不要没有任何规划地把工程保存到桌面，或者默认的目录，要有自己的规划，这和收拾房子一样的道理。  \n",
    "![pycharm6](./pycharm6.png)  \n",
    "我的电脑上是把G盘作为我的工作盘，G:/train目录作为Python训练项目目录，第一个训练项目名叫train01, 点\"Create\"按钮执行创建，需要一定时间下载第三方库，有进度条显示:  \n",
    "![pycharm7](./pycharm7.png)  \n",
    "最后创建完毕，如下图：  \n",
    "![pycharm8](./pycharm8.png)  "
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
